<table class="table-form">
    <colgroup>
        <col width="150px"><col>
    </colgroup>

    <tr>
        <th>商品品牌：</th>
        <td>
            <input type="text"  name="brand" value="{$goods.brand}" class="form-control" />
        </td>
    </tr>

    <tr>
        <th>商品左上角文字：</th>
        <td>
            <textarea  style="width: 250px;height: 90px;;" class="form-control" name="lefttext" >{$goods.lefttext}</textarea>
        </td>
    </tr>

    <tr>
        <th>商品简述：</th>
        <td>
            <textarea id="resume" name="resume"  class="form-control Lwidth400" style="resize: none;" maxlength="128">{$goods.resume}</textarea>
        </td>
    </tr>

    <tr>
        <th>商品详情：</th>
        <td>
            <textarea  style="width: 600px;height: 500px;;" class="form-control" id="details" name="details">{$goods.details}</textarea>
        </td>
    </tr>

    <tr>
        <th>邮费：</th>
        <td>
            <input type="text"  name="freight" value="{$goods.freight}" class="form-control" />
        </td>
    </tr>

    <tr>
        <th>出售数量：</th>
        <td>
            <input type="text"  name="cs_num" value="{$goods.cs_num}" class="form-control" />
        </td>
    </tr>

    <tr>
        <th>购买人数：</th>
        <td>
            <input type="text"  name="paynum" value="{$goods.paynum}" class="form-control" />
        </td>
    </tr>



    <tr>
        <th>是否首页推荐：</th>
        <td>
            <select name="is_banner">
                <option value="">--请选择是否首页推荐--</option>
                <option value="1" {if $goods.is_banner eq 1}selected{/if}>是</option>
                <option value="2" {if $goods.is_banner eq 2}selected{/if}>否</option>
            </select>
        </td>
    </tr>

    <tr>
        <th>商品版块分类：</th>
        <td>
            <select name="goodsection" class="form-control" title="分类">
                <option value="">--请选择分类--</option>
                {foreach $goodsectionList as $key => $value}
                    <option value="{$value['id']}" {if $goods.goodsection eq $value.id}selected{/if}>{$value['name']}</option>
                {/foreach}
            </select>
        </td>
    </tr>

    <tr>
        <th>商品产地：</th>
        <td>
            <input type="text"  name="place_of_production" value="{$goods.place_of_production}" class="form-control" />
        </td>
    </tr>

    <tr>
        <th>保质期限：</th>
        <td>
            <input type="text"  name="quality_guarantee_period" value="{$goods.quality_guarantee_period}" class="form-control" />
        </td>
    </tr>

    <tr>
        <th>成分：</th>
        <td>
            <input type="text"  name="component" value="{$goods.component}" class="form-control" />
        </td>
    </tr>

</table>

<script type="text/javascript">
    $(function() {
        create_editor('details');
    });
</script>